//
//  RadioListHeaderView.m
//  FoodList
//
//  Created by Jason on 16/4/13.
//  Copyright © 2016年 王金晶. All rights reserved.
//

#import "RadioListHeaderView.h"

@implementation RadioListHeaderView

- (void)setModel:(RadioListHeaderModel *)model {
    _model = model;
    [self.backgroundImg sd_setImageWithURL:[NSURL URLWithString:model.coverOrigin]];
    [self.coverImg sd_setImageWithURL:[NSURL URLWithString:model.coverLarge]];
    [self.authorImg sd_setImageWithURL:[NSURL URLWithString:model.avatarPath]];
    self.authorLab.text = model.nickname;
    self.introduceLab.text = model.intro;
    self.categoryLab.text = model.tags;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
